//
//  ReadDetailsCollectionCellOfItem.m
//  aMoment
//
//  Created by dllo on 15/10/12.
//  Copyright © 2015年 LuckyHan. All rights reserved.
//

#import "ReadDetailsCollectionCellOfItem.h"
#import "AllHeaderFiles.h"

@implementation ReadDetailsCollectionCellOfItem

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _itemLabel = [[UILabel alloc] init];
        _itemLabel.textAlignment = NSTextAlignmentCenter;
        _itemLabel.layer.borderWidth = .5;
        _itemLabel.layer.borderColor = [UIColor lightGrayColor].CGColor;
        [self.contentView addSubview:_itemLabel];
        [_itemLabel release];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    _itemLabel.frame = CGRectMake(0, 0, SCREEN_WIDTH / 2, self.contentView.Height);
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
